#ifndef __IDENT__
#define __IDENT__

#include "CardDTD.h"
#include "ComponentDTD.h"
#include <string>

class IdentDTD : public ComponentDTD
{
	private:
		std::string name;
		Card card; // cardinality (+, * or ? or nothing)

	public:
		IdentDTD(const char *_name, Card _card);

		virtual ~IdentDTD(){};

		std::string getName() const;

		/**Display the structure associated to an IdentDTD*/
		virtual void display() const;

		/**Create the regular expression associated to an IdentDTD*/
		virtual std::string regExpCreate() const;
};


#endif
